﻿<UserControl x:Class="SilverlightHVP.View.TopicsView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:this="clr-namespace:SilverlightHVP.View;assembly=SilverlightHVP.View"             
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    
    <Grid x:Name="LayoutRoot" Margin="10">
            <this:ScrollBox>
                <ListBox
                     x:Name="TopicsList"
                     HorizontalAlignment="Stretch"
                     Background="Transparent"
                     FontSize="16"
                     Foreground="White"
                     Style="{StaticResource StdListbox}"
                     BorderThickness="0"
                     VerticalAlignment="Stretch"
                     ItemsSource="{Binding Topics}"
                     SelectedItem ="{Binding CurrentTopic, Mode=TwoWay}"
                     DisplayMemberPath="TextToDisplay" />
            </this:ScrollBox>
    </Grid>
</UserControl>
